import numpy as np
# wa = np.genfromtxt('a1data.txt',delimiter=',',dtype=np.str)
# print(wa)
# v = np.array([5,10,15,20])
# m=np.arange(1,7).reshape((2,3))*5
#
# print(m)
# print(v.dtype)
#
# equal_10=m==10
# print(m[equal_10])
# A=np.array([[1,2],
#             [3,4]])
# B=np.array([[1,0],
#             [0,4]])
# print(A*B)
a=np.floor(10*np.random.random((3,4)))
print(a)
print(a.ravel())
